package com.hmdp.service;

import com.hmdp.dto.Result;
import com.hmdp.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author jay
 */
public interface IFollowService extends IService<Follow> {

    /**
     * 关注与取关
     */
    Result follow(Long followUserId, Boolean isFollow);

    /**
     * 判断用户是否关注
     */
    Result isFollow(Long followUserId);

    /**
     * 共同关注
     */
    Result followCommons(Long id);
}
